package com.webull.information.center.carwler.common.model;

import java.util.Date;

/**
 * 路透商品期货链代码
 * 
 * @author xiaobo
 * @version 1.0
 * @date 16/8/23
 * @time 下午5:04
 * @since JDK 1.8
 */

public class TickerChain {
	private Integer id;
	private String chainId;
	private Integer exchangeId;
	private Integer type;
	private String rtNricId; // 期货品种新闻RIC
	private Date createTime;
	private Date updateTime;
	private Boolean del;

	public static class TickerChainType {
		public static final Integer FUTURES_GROUP = 1; // 期货分组链代码
		public static final Integer STOCK_EXCHANGE = 2; // 股票交易所链代码
		public static final Integer INDEX_EXCHANGE = 3; // 指数交易所链代码
		public static final Integer FUTURES_EXCHANGE = 4; // 商品期货交易所下的期货链代码
		public static final Integer INDEX_COMPONENT = 5; // 指数成分股
		public static final Integer FUND = 6; // 基金基本面
		public static final Integer STOCK = 7; // 股票基本面
		public static final Integer INDEX = 8; // 指数基本面
		public static final Integer FUTURES = 9; // 期货基本面
		public static final Integer STOCK_CHANGE = 12; // 股票变动(退市/删除/更名等)
		public static final Integer FUND_CHANGE = 13; // 基金变动(退市/删除/更名等)
		public static final Integer SZHK_NORTH = 14; // 深港通北上 0#SZHK.SZ 深股通 957
		public static final Integer SZHK_SOUTH = 15; // 深港通南下 0#SZHK.HK 港股通 418
		public static final Integer SHHK_NORTH = 16; // 沪港通北上
														// 0#BUYSELL.SS/0#SELL.SS
														// 沪股通 714
		public static final Integer SHHK_SOUTH = 17; // 沪港通南下 0#SHHK.HK 港股通 316
	}

	public static class ChangeType {
		public static final String ADD = "ADD";
		public static final String DEL = "DEL";
		public static final String WAS = "WAS";
		public static final String NOW = "NOW";
	}

	public String getRtNricId() {
		return rtNricId;
	}

	public void setRtNricId(String rtNricId) {
		this.rtNricId = rtNricId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getChainId() {
		return chainId;
	}

	public void setChainId(String chainId) {
		this.chainId = chainId;
	}

	public Integer getExchangeId() {
		return exchangeId;
	}

	public void setExchangeId(Integer exchangeId) {
		this.exchangeId = exchangeId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Boolean getDel() {
		return del;
	}

	public void setDel(Boolean del) {
		this.del = del;
	}
}